package com.eyas.core.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @Auther: 王龙龙
 * @Date: 2018/11/29 10:53
 * @Description:
 */
@Documented
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Target({ElementType.FIELD})
public @interface Column {
    @AliasFor(value = "column")
    public String value() default "";

    @AliasFor("value")
    public String column() default "";

    public ColumnType columnType() default ColumnType.STRING;

    public int columnSize() default -1;

    public boolean IsNull() default false;

}
